package main

import (
	"github.com/gin-gonic/gin"
	"log"
	"mall-app/internal"
)

func main() {
	gin.SetMode("debug")

	r := internal.InitRouter()

	err := r.Run(":8081")
	if err != nil {
		log.Fatalln("Something terrible happened:", err)
	}
}
